package com.ylr.admin.framework.feign.configuration;

import com.ylr.admin.framework.feign.fallback.YaUserClientFallback;
import org.springframework.context.annotation.Bean;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-04 22:03:13
 * className: ExternalConfiguration
 * version: 1.0
 * description:
 */
public class ClientConfiguration {

    /**
     * 注入系统接口客户端异常回调类对象
     */
    @Bean
    public YaUserClientFallback yaUriClientFallback() {
        return new YaUserClientFallback();
    }

}
